package com.itfreer.bpm.flow.api;

import com.itfreer.bpm.option.para.NextTaskInfo;

/**
 * 用户自定义下一个环节接口
 * @author gj
 *
 */
public interface IUserNextTask {
	/**
	 * 获取下一个节点信息
	 * @param sexeid
	 * @param bpmkey 流程主键
	 * @param taskid 任务id
	 * @param condition 条件
	 * @param entity 
	 * @return
	 */
	public NextTaskInfo getNextTask(String sexeid,String bpmkey,
			String taskid,String condition,
			NextTaskInfo nextTaskInfo,Object entity);
}
